package com.nana.block.domain.user;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 用户表
 * </p>
 *
 * @author mars
 * @since 2023-08-04
 */
@Getter
@Setter
@TableName("t_block_user")
@ApiModel(value = "TBlockUser对象", description = "用户表")
public class BlockUser implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("账号")
    private String account;

    @ApiModelProperty("密码")
    private String password;

    @ApiModelProperty("昵称")
    private String nickName;

    @ApiModelProperty("真实姓名")
    private String realName;

    @ApiModelProperty("头像url")
    private String avatar;

    @ApiModelProperty("账号来源（1-平台，2-微信）")
    private Integer accountSource;

    @ApiModelProperty("身份类型（1-学生，2-教师，3-社会人士，4-保密）")
    private Integer identityType;

    @ApiModelProperty("性别（1-男，2-女，3-保密）")
    private Integer gender;

    @ApiModelProperty("生日")
    private Date birthday;

    @ApiModelProperty("联系电话")
    private String phone;

    @ApiModelProperty("邮箱")
    private String email;

    @ApiModelProperty("是否实名认证(0-否，1-是)")
    private Integer realNameAuthenticationStatus;

    @ApiModelProperty("角色id")
    private Integer roleId;

    @ApiModelProperty("学校id")
    private Integer collegeId;

    @ApiModelProperty("学校名称")
    private String collegeName;

    @ApiModelProperty("专业id")
    private Integer majorId;

    @ApiModelProperty("专业名称")
    private String majorName;

    @ApiModelProperty("自我简介")
    private String briefIntroduction;

    @ApiModelProperty("用户状态")
    private Integer status;

    @ApiModelProperty("是否删除状态")
    private Integer deleteStatus;

    private Integer createUser;

    private Date createTime;

    private Integer updateUser;

    private Date updateTime;


}
